/**   
* @Title: UserEntity.java
* @Package com.an.nopro.entity
* @Description: TODO(用一句话描述该文件做什么)
* @author antch,861710865@qq.com   
* @date 2017年8月6日 下午8:36:25
* @version V1.0   
*/


package com.an.nopro.entity;

import java.io.Serializable;

/**
* @ClassName: UserEntity
* @Description: TODO(用户实体类)
* @author antch,861710865@qq.com
* @date 2017年8月6日 下午8:36:25
* 
*/

public class UserEntity implements Serializable{

	/**
	* @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么)
	*/
	
	private static final long serialVersionUID = 1L;

	
	private Long id;
	
	private String userName;
	
	private String passWord;
	
	private UserSexEnum userSex;
	
	private String nickName;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassWord() {
		return passWord;
	}

	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}

	public UserSexEnum getUserSex() {
		return userSex;
	}

	public void setUserSex(UserSexEnum userSex) {
		this.userSex = userSex;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	@Override
	public String toString() {
		return "UserEntity [id=" + id + ", userName=" + userName + ", passWord=" + passWord + ", userSex=" + userSex
				+ ", nickName=" + nickName + "]";
	}

	public UserEntity() {
		super();
	}

	public UserEntity(String userName, String passWord, UserSexEnum userSex, String nickName) {
		super();
		this.userName = userName;
		this.passWord = passWord;
		this.userSex = userSex;
		this.nickName = nickName;
	}
	
	
}
